-- GENERATED SPELL FOR [Giant Buzzard] --


function spell0_2831(pUnit, Event) --@Infected Wound,n/a--
pUnit:FullCastSpellOnTarget(3427,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2831', 30283, 1)
end

function Sorts_2831(pUnit, Event)
local choix_sorts_2831 = math.random(0, 0)
if choix_sorts_2831 == 0 then
pUnit:RegisterEvent('spell0_2831', 1, 1)
end
end

function mob2831_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2831', math.random(1500, 3000), 1)
end

function mob2831_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2831_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2831_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2831, 1, 'mob2831_Action')
RegisterUnitEvent(2831, 2, 'mob2831_Leave')
RegisterUnitEvent(2831, 3, 'mob2831_Kill')
RegisterUnitEvent(2831, 4, 'mob2831_Die')
